package entity.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2023-02-27
 */
@Getter
@Setter
@TableName("operation_carousel")
@ApiModel(value = "Carousel对象", description = "")
public class Carousel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("轮播表id")
    @TableId(value = "carousel _id", type = IdType.AUTO)
    private Integer carouselId;

    @ApiModelProperty("轮播标题")
    @TableField("carousel _tital")
    private String carouselTital;

    @ApiModelProperty("封面图")
    @TableField("carousel _pic")
    private String carouselPic;

    @ApiModelProperty("位置")
    @TableField("carousel _location")
    private Integer carouselLocation;

    @ApiModelProperty("是否上架")
    @TableField("carousel _upordown")
    private Integer carouselUpordown;

    @ApiModelProperty("上架开始时间")
    @TableField("carousel _uptime_start")
    private String carouselUptimeStart;

    @ApiModelProperty("上架结束时间")
    @TableField("carousel _iuptime_end")
    private byte[] carouselIuptimeEnd;

    @ApiModelProperty("上架时间")
    @TableField("carousel _time")
    private LocalDateTime carouselTime;

    @ApiModelProperty("类型")
    @TableField("carousel _type")
    private String carouselType;

    @ApiModelProperty("删除状态")
    @TableField("carousel _deleted")
    private Integer carouselDeleted;


}
